-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pagination to Search page #41706
Conversation
@alitoshmatov Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewing |
@alitoshmatov how did review go? |
@alitoshmatov bump for review |
A lot of the same request are being made when scrolled to the end Screen.Recording.2024-05-10.at.11.28.13.PM.mov |
I can look into that. I put some safe guards in place, e.g. |
@alitoshmatov it seems like this PR is blocking the work of others, so maybe we can treat the issue above as not a blocker and I'll work on a follow up to address the loading issues at the end of the scroll. Could you please continue your review? |
Got it, I will work on it |
@luacmartins I finished up with code review and was about to prepare screenshots. But it looks like search api is not working properly. Web is working partially since it has local onyx data to pull from |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktopsearch-web.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me, I tried to solve infinite request issue but no luck so far(especially api not working made things a bit difficult). If you want you can merge the PR or we can wait for api to work again and I will provide with complete screenshots
@srikarparsi Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Thanks @alitoshmatov! @srikarparsi all yours to review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it sounds like this is good to merge without fixing the infinite requests issue. The code looks good to me and went over the screen recordings.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/srikarparsi in version: 1.4.75-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.75-1 🚀
|
Details
Adds pagination to Search page
Fixed Issues
$ #41617
Tests
Pre-requisite: an account with more than 50 money requests
Profile > Troubleshoot > New search page
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
chrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov